import request from '@/utils/request'

export function applicationInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/service/application.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function applicationNacosInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/service/application.nacos.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function addApplication(paramDataInfo) {
    return request({
        url: '/ywu/service/application.add.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function updateApplication(paramDataInfo) {
    return request({
        url: '/ywu/service/application.update.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function deleteApplication(paramDataInfo) {
    return request({
        url: '/ywu/service/application.delete.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function getCommonSshPublicKey(paramDataInfo) {
    return request({
        url: '/ywu/service/service.gitee.ssh.key',
        method: 'post',
        data: paramDataInfo
    })
}